TPT-4462: Add integration tests for RDMA interfaces - #713
Conversation
…ts-for-rdma-interfaces
There was a problem hiding this comment.
Pull request overview
Adds integration coverage for RDMA VPC/Subnet behavior, ensuring vpc_type is surfaced correctly and RDMA resources behave as expected (notably around IPv6 behavior) in DevCloud.
Changes:
- Extend existing VPC/Subnet integration assertions to validate
vpc_type == "regular". - Add new RDMA-focused integration tests for loading and filtering RDMA VPCs and for creating/loading RDMA subnets.
- Introduce a session-scoped
create_vpc_with_rdma_typefixture to provision RDMA VPCs for tests.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| test/integration/models/vpc/test_vpc.py | Adds assertions for regular VPCs/subnets and introduces RDMA VPC/Subnet integration tests. |
| test/integration/conftest.py | Adds a session-scoped fixture to create/delete an RDMA VPC for integration tests. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
It's strange, could you please try again @ezilber-akamai ? Maybe it was a kind of temporary issue, because I'm able to run it locally with DevCloud? |
yec-akamai
left a comment
There was a problem hiding this comment.
Tests passed locally, nice work!
* TPT-4462: Support VPC RDMA Interfaces (#711) * init * add unit test * lint * nit` * add explict reject * fix firewall id * TPT-4462: Add integration tests for RDMA interfaces (#713) * init * add unit test * lint * nit` * Add integration tests for RDMA VPC and Subnet * Update fixture and test assertions for RDMA VPC * Create fixture for subnet RDMA * Change rdma fixtures scope --------- Co-authored-by: Ye Chen <yechen@akamai.com> * Add test for RDMA Linode instance creation (#733) * enable int test * Fix formatting of vpc_type parameter in vpc.py Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * improve test --------- Co-authored-by: Maciej Wilk <mawilk@akamai.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
📝 Description
Created integration tests for functionality of RDMA interfaces
Note:
RDMA functionality is available on DevCloud only at the moment
✔️ How to Test
make test-int TEST_ARGS="-k test_get_vpc_with_rdma_type"make test-int TEST_ARGS="-k test_get_vpc"make test-int TEST_ARGS="-k test_get_subnet_with_rdma_type"make test-int TEST_ARGS="-k test_get_subnet"